home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / utility / pgp20.zip / PGP.HLP < prev    next >
Text File  |  1992-09-04  |  4KB  |  104 lines

  1. Here's a quick summary of PGP commands...
  2.  
  3. To encrypt a plaintext file with the recipient's public key:
  4.      pgp -e textfile her_userid
  5.  
  6. To sign a plaintext file with your secret key:
  7.      pgp -s textfile [-u your_userid]
  8.  
  9. To sign a plaintext file with your secret key, and then encrypt it 
  10. with the recipient's public key:
  11.      pgp -es textfile her_userid [-u your_userid]
  12.  
  13. To encrypt a plaintext file with just conventional cryptography, type:
  14.      pgp -c textfile
  15.  
  16. To decrypt an encrypted file, or to check the signature integrity of a
  17. signed file:
  18.      pgp ciphertextfile [-o plaintextfile]
  19.  
  20. To decrypt a multi-part ASCII armored file: save all parts in the right
  21. order to a file with .asc extension, then type:
  22.      pgp armorfile [-o plaintextfile]
  23.  
  24. --- Key management commands:
  25.  
  26. To generate your own unique public/secret key pair:
  27.      pgp -kg
  28.  
  29. To add a public or secret key file's contents to your public or
  30. secret key ring:
  31.      pgp -ka keyfile [keyring]
  32.  
  33. To extract (copy) a key from your public or secret key ring:
  34.      pgp -kx userid keyfile [keyring]
  35. or:  pgp -kxa userid keyfile [keyring]
  36.  
  37. To view the contents of your public key ring:
  38.      pgp -kv[v] [userid] [keyring] 
  39.  
  40. To view the contents and check the certifying signatures of your 
  41. public key ring:
  42.      pgp -kc [userid] [keyring] 
  43.  
  44. To edit the userid or pass phrase for your secret key:
  45.      pgp -ke userid [keyring]
  46.  
  47. To edit the trust parameters for a public key:
  48.      pgp -ke userid [keyring]
  49.  
  50. To remove a key or just a userid from your public key ring:
  51.      pgp -kr userid [keyring]
  52.  
  53. To sign and certify someone else's public key on your public key ring:
  54.      pgp -ks her_userid [-u your_userid] [keyring]
  55.  
  56. To remove selected signatures from a userid on a keyring:
  57.      pgp -krs userid [keyring]
  58.  
  59. --- Esoteric commands:
  60.  
  61. To decrypt a message and leave the signature on it intact:
  62.      pgp -d ciphertextfile
  63.  
  64. To create a signature certificate that is detached from the document:
  65.      pgp -sb textfile [-u your_userid]
  66.  
  67. To detach a signature certificate from a signed message:
  68.      pgp -b ciphertextfile
  69.  
  70. --- Command options that can be used in combination with other 
  71. command options (sometimes even spelling interesting words!):
  72.  
  73. To produce a ciphertext file in ASCII radix-64 format, just add the
  74. -a option when encrypting or signing a message or extracting a key:
  75.      pgp -sea textfile her_userid
  76. or:  pgp -kxa userid keyfile [keyring]
  77.  
  78. To wipe out the plaintext file after producing the ciphertext file,
  79. just add the -w (wipe) option when encrypting or signing a message:
  80.      pgp -sew message.txt her_userid
  81.  
  82. To specify that a plaintext file contains ASCII text, not binary, and
  83. should be converted to recipient's local text line conventions, add
  84. the -t (text) option to other options:
  85.      pgp -seat message.txt her_userid
  86.  
  87. To view the decrypted plaintext output on your screen (like the
  88. Unix-style "more" command), without writing it to a file, use 
  89. the -m (more) option while decrypting:
  90.      pgp -m ciphertextfile
  91.  
  92. To specify that the recipient's decrypted plaintext will be shown
  93. ONLY on her screen and cannot be saved to disk, add the -m option:
  94.      pgp -steam message.txt her_userid
  95.  
  96. To recover the original plaintext filename while decrypting, add 
  97. the -p option:
  98.      pgp -p ciphertextfile
  99.  
  100. To use a Unix-style filter mode, reading from standard input and
  101. writing to standard output, add the -f option:
  102.      pgp -feast her_userid <inputfile >outputfile
  103.  
  104.